﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucLoginProvider.ascx.cs" Inherits="WebTriple7.UserControl.ucLoginProvider" %>
<%@ Import Namespace="Microsoft.AspNet.Membership.OpenAuth" %>
Tài khoản:
<asp:Label runat="server" ID="lblDisplayAcc"></asp:Label>
<br />

<asp:Button runat="server" ID="btnLogout" Text="Thoát" OnClick="btnLogout_Click" />
<div style="float: right; color: brown; font-weight: bold">
    <a href="/Portal/Default.aspx">Game</a>
    <a href="/Portal/ItemIn.aspx">Mua vàng gói</a>
    <a href="/Portal/SingleItemIn.aspx">Mua vàng lẻ</a>

    Vàng: <span id="spTotalAu"><%=Au > 0 ? Au.ToString("0,0").Replace(',', '.') : "0"%></span>, Bạc: <span id="spTotalAg"><%=Ag>0?Ag.ToString("0,0").Replace(',','.'):"0" %></span>
</div>

<asp:ListView runat="server" ID="providersList" ViewStateMode="Disabled">
    <ItemTemplate>
        <button type="submit" name="provider" value="<%# HttpUtility.HtmlAttributeEncode(Item<ProviderDetails>().ProviderName) %>"
            title="Log in using your <%# HttpUtility.HtmlAttributeEncode(Item<ProviderDetails>().ProviderDisplayName) %> account.">
            <%# HttpUtility.HtmlEncode(Item<ProviderDetails>().ProviderDisplayName) %>
        </button>
    </ItemTemplate>

    <EmptyDataTemplate>
        <div class="message-info">
            <p>There are no external authentication services configured. See <a href="http://go.microsoft.com/fwlink/?LinkId=252803">this article</a> for details on setting up this ASP.NET application to support logging in via external services.</p>
        </div>
    </EmptyDataTemplate>
</asp:ListView>
